import request from '@/utils/request'

export function getOrgs(name) {
  return request({
    url: '/org/GetOrgs',
    method: 'get',
    name
  })
}

export function enableOrg(data) {
  return request({
    url: '/org/EnableOrg',
    method: 'post',
    data
  })
}
